home *** CD-ROM | disk | FTP | other *** search
/ Cre@te Online 2000 December / Cre@teOnline CD05.iso / MacSoft / XML ConsoleMax.sea / XML ConsoleMax / Required / swingall.jar / javax / swing / plaf / basic / BasicTreeUI$SelectionModelPropertyChangeHandler.class (.txt) < prev    next >
Encoding:
Java Class File  |  1999-07-15  |  894 b   |  22 lines

  1. package javax.swing.plaf.basic;
  2.  
  3. import java.beans.PropertyChangeEvent;
  4. import java.beans.PropertyChangeListener;
  5. import java.util.EventObject;
  6.  
  7. public class BasicTreeUI$SelectionModelPropertyChangeHandler implements PropertyChangeListener {
  8.    // $FF: synthetic field
  9.    private final BasicTreeUI this$0;
  10.  
  11.    public BasicTreeUI$SelectionModelPropertyChangeHandler(BasicTreeUI var1) {
  12.       this.this$0 = var1;
  13.    }
  14.  
  15.    public void propertyChange(PropertyChangeEvent var1) {
  16.       if (((EventObject)var1).getSource() == this.this$0.treeSelectionModel) {
  17.          this.this$0.treeSelectionModel.resetRowSelection();
  18.       }
  19.  
  20.    }
  21. }
  22.